package cn.sharp.bbs.dao.security;

import org.apache.ibatis.annotations.Select;

public interface RegisterDao {
    @Select("select count(*) from t_user where user_mail=#{email}")
    int countUserByEmail(String email);

    @Select("select count(*) from t_user where user_num=#{account}")
    int countUserByAccount(String account);
}
